// samsting : this file is auto create.

#include "Slb/2014-05-15/SetListenerAccessControlStatusRequest.h"

namespace aliyun { namespace Slb {

SetListenerAccessControlStatusRequest::SetListenerAccessControlStatusRequest() : RpcAcsRequest("Slb", "2014-05-15", "SetListenerAccessControlStatus") {
}

int64 SetListenerAccessControlStatusRequest::GetOwnerId(void) const {
  return OwnerId_;
}
void SetListenerAccessControlStatusRequest::SetOwnerId(int64 OwnerId) {
  OwnerId_ = OwnerId;
  PutQueryParameter("OwnerId", string_ValueOfInt64(OwnerId_));
}

const string& SetListenerAccessControlStatusRequest::GetResourceOwnerAccount(void) const {
  return ResourceOwnerAccount_;
}
void SetListenerAccessControlStatusRequest::SetResourceOwnerAccount(const string& ResourceOwnerAccount) {
  ResourceOwnerAccount_ = ResourceOwnerAccount;
  PutQueryParameter("ResourceOwnerAccount", ResourceOwnerAccount_);
}

int64 SetListenerAccessControlStatusRequest::GetResourceOwnerId(void) const {
  return ResourceOwnerId_;
}
void SetListenerAccessControlStatusRequest::SetResourceOwnerId(int64 ResourceOwnerId) {
  ResourceOwnerId_ = ResourceOwnerId;
  PutQueryParameter("ResourceOwnerId", string_ValueOfInt64(ResourceOwnerId_));
}

const string& SetListenerAccessControlStatusRequest::GetLoadBalancerId(void) const {
  return LoadBalancerId_;
}
void SetListenerAccessControlStatusRequest::SetLoadBalancerId(const string& LoadBalancerId) {
  LoadBalancerId_ = LoadBalancerId;
  PutQueryParameter("LoadBalancerId", LoadBalancerId_);
}

int SetListenerAccessControlStatusRequest::GetListenerPort(void) const {
  return ListenerPort_;
}
bool SetListenerAccessControlStatusRequest::SetListenerPort(int ListenerPort) {
  if(ListenerPort < 1) {
    return false;
  }
  if(ListenerPort > 65535) {
    return false;
  }
  ListenerPort_ = ListenerPort;
  PutQueryParameter("ListenerPort", string_ValueOfInt(ListenerPort_));
  return true;
}

const string& SetListenerAccessControlStatusRequest::GetAccessControlStatus(void) const {
  return AccessControlStatus_;
}
void SetListenerAccessControlStatusRequest::SetAccessControlStatus(const string& AccessControlStatus) {
  AccessControlStatus_ = AccessControlStatus;
  PutQueryParameter("AccessControlStatus", AccessControlStatus_);
}

const string& SetListenerAccessControlStatusRequest::GetOwnerAccount(void) const {
  return OwnerAccount_;
}
void SetListenerAccessControlStatusRequest::SetOwnerAccount(const string& OwnerAccount) {
  OwnerAccount_ = OwnerAccount;
  PutQueryParameter("OwnerAccount", OwnerAccount_);
}


} } // namespace aliyun { namespace Slb {

// end of file 
